package bugtracking
/**
 * Domain object representing Drools Rule
 * 
 * @author Manohar Viswanathan
 */

class DroolsRule {

	String ruleKey
	String ruleDescription
	String ruleValue
	
	static mapping = {
	    table 'drools_rule'
	    version false
	    ruleValue type:'text'
	}
	
	static constraints = {
		ruleKey(blank:false, unique:true)
		ruleDescription(blank:false)
	    ruleValue(blank:false)
	}
}
